package zen2d;


public interface Window {

    void setKeyEventListener(KeyEventListener keyEventListener);

    void setMouseEventListener(MouseEventListener mouseEventListener);

    void moveViewport(int offsetX, int offsetY);

    int getViewportX();

    int getViewportY();

    boolean isHighQuality();

    void setHighQuality(boolean highQuality);

    void createWindow(int x, int y, int width, int height);

    void resetWindow();

    void clearRect(int x, int y, int width, int height);

    void repaint();

    void setTitle(String title);

    void showMsg(String msg);

    GraphicsContext getGraphicsContext();

}
